package org.pmt.first.kms.resource

import androidx.compose.runtime.Stable
import org.pmt.first.resource.SettingsTab

/**
 * Author: pengmutian
 * Date: 2025/3/17 17:11
 * Description: StringRes
 */
object StringRes {
    //todo 多语言
    @Stable
    fun getName(tab: SettingsTab): String {
        return when (tab) {
            SettingsTab.APPEARANCE -> "界面"
            SettingsTab.THEME -> "主题与色彩"
            SettingsTab.UPDATE -> "软件更新"
            SettingsTab.PLAYER -> "播放器和弹幕过滤"
            SettingsTab.MEDIA_SOURCE -> "数据源管理"
            SettingsTab.MEDIA_SELECTOR -> "观看偏好"
            SettingsTab.DANMAKU -> "弹幕源"
            SettingsTab.PROXY -> "代理"
            SettingsTab.BT -> "BitTorrent"
            SettingsTab.CACHE -> "自动缓存"
            SettingsTab.STORAGE -> "存储空间"
            SettingsTab.ABOUT -> "关于、反馈与日志"
            SettingsTab.DEBUG -> "调试"
        }
    }
}